package com.itqf.ipmsys.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * <p>
 * 交通状况表
 * </p>
 *
 * @author corn
 * @since 2021-09-22
 */

public class TrafficDto   {


    /**
     * 主键
     */

    private Integer id;

    /**
     * 上报单位id
     */
    private Integer uId;

    /**
     * 值班日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    /**
     * 上报时间
     */
    private Date uploadTime;

    /**
     * 道路
     */
    private String street;

    /**
     * 路况类型 1：正常      2：拥堵
     */
    private String type;

    @Override
    public String toString() {
        return "TrafficDto{" +
                "id=" + id +
                ", uId=" + uId +
                ", date=" + date +
                ", uploadTime=" + uploadTime +
                ", street='" + street + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
